package com.jbit.hxy.model.po;



import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Data;

/**
 * 订单明细表
 * @TableName wx_order_detail
 */
@TableName(value ="wx_order_detail")
@Data
public class WxOrderDetail implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 菜品名字
     */
    @TableField(value = "name")
    private String name;

    /**
     * 菜品图片
     */
    @TableField(value = "image")
    private String image;

    /**
     * 订单Id
     */
    @TableField(value = "orderId")
    private Long orderId;

    /**
     * 菜品id
     */
    @TableField(value = "dishId")
    private Integer dishId;

    /**
     * 套餐id
     */
    @TableField(value = "setmealId")
    private Integer setmealId;

    /**
     * 口味
     */
    @TableField(value = "dishFlavor")
    private String dishFlavor;

    /**
     * 数量
     */
    @TableField(value = "quantity")
    private Integer quantity;

    /**
     * 金额
     */
    @TableField(value = "amount")
    private BigDecimal amount;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}